package day08;

public class Dog extends Animal{
    String name;
    public void setName(String name){
        this.name =name;
    }
    public String getName(){
        return this.name;
    }
    public void show(){
        System.out.println(""+this.name);
        System.out.println(""+super.age);
    }
}
